package com.xuecx.userclient.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author:xuecx
 * @CreateDate: 2019/7/27.
 * @QQ:1276162287
 * @Discription:
 */
@FeignClient(value = "user-service",fallback = FeignFallBack.class)
public interface UserService {
    @RequestMapping(value = "/user/getUserName/{name}", method= RequestMethod.GET)
    String hello(@RequestParam("name") String name) ;
}
